/**
 *  @file invalidXMLException.h
 *
 *  @date 3-dec-2009
 *  @author Ives van der Flaas
 */

#ifndef INVALIDXMLEXCEPTION_H_
#define INVALIDXMLEXCEPTION_H_

#include <exception>

namespace si
{
/**
 * Will be thrown if an invalid xml file is read.
 */
class InvalidXMLException: public std::exception
{
public:
	InvalidXMLException();
	virtual ~InvalidXMLException() throw() {}

	virtual const char* what() const throw() { return "Invalid xml file."; }
};

}
#endif /* INVALIDXMLEXCEPTION_H_ */
